// var n;
// exports.UIConfig_Entry = exports.UIView_Entry = void 0;
// var $bundleConfig = require("./BundleConfig");
// var $uIManager = require("./UIManager");
// exports.UIView_Entry = {
//     UI_Entry: "UI_Entry",
//     UI_Toast: "UI_Toast",
//     UI_Loading: "UI_Loading",
//     UI_Debug: "UI_Debug"
// };
// exports.UIConfig_Entry =
//     (((n = {})[exports.UIView_Entry.UI_Entry] = {
//         prefab: "common/UI_Entry",
//         block: !0
//     }),
//     (n[exports.UIView_Entry.UI_Toast] = {
//         prefab: "common/UI_Toast",
//         block: !1
//     }),
//     (n[exports.UIView_Entry.UI_Loading] = {
//         prefab: "common/UI_Loading",
//         block: !0
//     }),
//     (n[exports.UIView_Entry.UI_Debug] = {
//         prefab: "common/UI_Debug",
//         block: !1
//     }),
//     n);
// $uIManager.default.register($bundleConfig.BundleNames.Resouce, exports.UIConfig_Entry);



import { BundleNames } from "./BundleConfig";
import UIManager from "./UIManager";
// 建议类名：UIConfigEntry
export namespace UIConfigEntry {

    // 定义 UIView_Entry 枚举
    /**
     * 枚举：UIView_Entry
     * 建议名称：UIViewEntry
     */
    export enum UIView_Entry {
        UI_Entry = "UI_Entry",
        UI_Toast = "UI_Toast",
        UI_Loading = "UI_Loading",
        UI_Debug = "UI_Debug"
    }

    // 定义 UIConfig_Entry 接口
    /**
     * 接口：UIConfig
     * 建议名称：UIConfig
     */
    interface UIConfig {
        prefab: string;
        block: boolean;
    }

    // 定义 UIConfig_Entry 对象
    /**
     * 对象：UIConfig_Entry
     * 建议名称：UIConfigEntry
     */
    export const UIConfig_Entry: { [key in UIView_Entry]: UIConfig } = {
        [UIView_Entry.UI_Entry]: {
            prefab: "common/UI_Entry",
            block: true
        },
        [UIView_Entry.UI_Toast]: {
            prefab: "common/UI_Toast",
            block: false
        },
        [UIView_Entry.UI_Loading]: {
            prefab: "common/UI_Loading",
            block: true
        },
        [UIView_Entry.UI_Debug]: {
            prefab: "common/UI_Debug",
            block: false
        }
    };

    // 注册 UIConfig_Entry
    UIManager.registerUIConfig(BundleNames.Resouce, UIConfig_Entry);
}